package com.nuoniu.sibanyun.entity.vo.reportVo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @ClassName UnFinishProductionWorkDetailSimpleVo
 * @Description TODO
 * @Author 白强
 * @Date 2021/12/30 15:45
 * @Version 1.0
 **/
@Data
@ApiModel("未完工 加工单 明细")
public class UnFinishProductionWorkDetailSimpleVo extends BaseEntity {

    @ApiModelProperty(value = "加工单号")
//    @TableField("production_work_code")
    private String productionWorkCode;

    @ApiModelProperty(value = "单据日期")
    @TableField("voucher_date")
    private LocalDate voucherDate;

    @ApiModelProperty(value = "生产车间id")
    @TableField("office_id")
    private Integer officeId;

    @ApiModelProperty(value = "生产车间")
    @TableField("office_name")
    private String officeName;

    @ApiModelProperty(value = "物料名称ID（产品ID）")
    @TableField("inventory_id")
    private Integer inventoryId;

    @ApiModelProperty(value = "物料名称（产品名称）")
    @TableField("inventory_name")
    private String inventoryName;

    @ApiModelProperty(value = "物料编码（产品编码）")
    @TableField("inventory_code")
    private String inventoryCode;

    @ApiModelProperty(value = "规格型号")
    @TableField("inventory_specification")
    private String inventorySpecification;

    @ApiModelProperty(value = "数量")
    @TableField("base_quantity")
    private BigDecimal baseQuantity;

    @ApiModelProperty(value = "完工数量")
    private BigDecimal cumExecuteQuantity;

    @ApiModelProperty(value = "主计量名称")
    @TableField("base_unit_name")
    private String baseUnitName;

    @ApiModelProperty(value = "工艺路线Id")
    @TableField("process_route_id")
    private String processRouteId;

    @ApiModelProperty(value = "工艺路线名称")
    @TableField("process_route_name")
    private String processRouteName;

    @ApiModelProperty(value = "开工日期")
    @TableField("start_date")
    private LocalDate startDate;

    @ApiModelProperty(value = "预计完工日期")
    @TableField("expect_finish_date")
    private LocalDate expectFinishDate;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;


}
